:INICIO
echo .
echo .
echo qual teste vc deseja executar?
echo -----------------------------------------
echo MENU: 4 ---------------------------------
echo --- 1 - Integracao
echo --- 2 - DesignPatterns_01
echo --- 3 - Acesso
echo --- 4 - Babok
echo --- 5 - WebConfig
echo --- 99 - voltar ao MENU
echo ---------------------------------
echo ---------------------------------
set /p compilar=qual solution deseja compilar?:
if "%compilar%"=="1" (GOTO INTEGRACAO)
if "%compilar%"=="2" (GOTO DESIGN_PATTERN)
if "%compilar%"=="3" (GOTO ACESSO)
if "%compilar%"=="4" (GOTO BABOK)
if "%compilar%"=="5" (GOTO WEBCONFIG)
if "%compilar%"=="99" (GOTO SAIR) else (GOTO INICIO)
:INTEGRACAO
echo 'REALIZANDO TESTES ... AGUARDE...'
MSTest /testmetadata:Core.vsmdi /testlist:Integracao_Spring_e_NHibernate > TestResults/Integracao_Spring_e_NHibernate.txt
echo DESLIGANDO copy _tools\_testes.sln
explorer %CD%\TestResults\
echo DESLIGANDO _testes.sln
GOTO INICIO
:DESIGN_PATTERN
echo 'REALIZANDO TESTES ... AGUARDE...'
MSTest /testmetadata:Core.vsmdi /testlist:DesignPatterns_01 > TestResults\DesignPatterns_01.txt
echo DESLIGANDO copy _tools\_testes.sln
explorer %CD%\TestResults\
echo DESLIGANDO _testes.sln
GOTO INICIO
:ACESSO
echo 'REALIZANDO TESTES ... AGUARDE...'
MSTest /testmetadata:Core.vsmdi /testlist:Acesso > TestResults\Acesso.txt
explorer %CD%\TestResults\
%CD%\TestResults\Acesso.txt
GOTO INICIO
:BABOK
echo 'REALIZANDO TESTES BABOK ... AGUARDE...'
MSTest /testmetadata:Core.vsmdi /testlist:Babok01 > TestResults\Babok01.txt
explorer %CD%\TestResults\
%CD%\TestResults\Babok01.txt
GOTO INICIO
:WEBCONFIG
echo 'REALIZANDO TESTES WEBCONFIG ... AGUARDE...'
MSTest /testmetadata:Core.vsmdi /testlist:Webconfig > TestResults\Webconfig01.txt
explorer %CD%\TestResults\
%CD%\TestResults\Webconfig01.txt
GOTO INICIO
:SAIR
_tools\menu